package com.cqeec.demo01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Demo01Application {

	public static void main(String[] args) {

		ConfigurableApplicationContext ioc = SpringApplication.run(Demo01Application.class, args);
		String[] beanDefinitionNames = ioc.getBeanDefinitionNames();
		for (String beanDefinitionName : beanDefinitionNames){
			System.out.println("=="+beanDefinitionName);
		}
	}

}